Floating-point Number LISP

نویسنده

  • Kyoji Umemura
چکیده

There exist many applications where both symbolic and floating-point computations are required at the same time. Image recognition, for example, requires huge amounts of numeric calculation to extract features from raw image data before the actual recognition is performed according to those features. Systems for symbolic computation should perform type-checking on numeric calculations. Although the overhead can be eliminated by declarations to the compiler, our observation shows that it is not always easy to make the appropriate declarations. The overhead can be eliminated by special hardware, but use of special machines sometimes makes system development difficult. This paper describes a LISP system, suitable for both symbolic and numeric computation, which has been developed under VAX/VMS. It runs simple differential-equation problems nearly as fast as VAX Fortran with no declarations. This system, called Real Number Lisp, benefits people who need both the flexibility of a symbolic computation system and the capability of a numeric computation system at the same time. The same techniques can be used with other symbolic computing languages, where dynamic type-checking is required.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Quad Double Arithmetic in Lisp

In a numerical calculation sometimes we need higher-than double-precision floating-point arithmetic to allow us to be confident of a result. One alternative is to rewrite the program to use a software package implementing arbitrary-precision extended floating-point arithmetic such as ARPREC or MPFR, and try to choose a suitable precision. Such an arithmetic scheme, in spite of helpful tools, ma...

متن کامل

Importing Pre-packaged Software into Lisp: Experience with Arbitrary-Precision Floating-Point Numbers

We advocate the use of a Common Lisp as a central organizing environment for building scientific computing systems, based on its debugging features, interactivity, memory model, existing code-base for computer algebra and user interfaces, and its ability to dynamically load modules written in other languages. In this paper we primarily address one example of mixing pre-existing (non Lisp) code ...

متن کامل

Compiling functional pipe/stream abstractions into conventional programs: Software Pipelines

Representing a potentially infinite indexed collection of data is a handy abstraction in a number of programming situations. Computational scientists routinely try to finess this notion by allocating an array of some “large enough” size, and (in a perhaps delicate move) re-allocate if it is not large enough. Even if one is aware of some direct implementation of infinite stream/pipe programming ...

متن کامل

Optimizing floating point operations in Scheme

It is well known that dynamic typing in languages like Lisp is costly in terms of performance. Besides the cost of tag checking, the other major source of ine ciency comes from the need to place and retrieve data from dynamically allocated objects, i.e. boxing and unboxing. This makes it unacceptable in general to write numerical code in Lisp. Such programs involve \tight" loops in which boxing...

متن کامل

Importing the Gnu Multiple Precision Package (GMP) into Lisp, and implications for Functional Programming

Advocating the use of a Common Lisp as a central organizing environment for building scientific computing systems runs counter to the conventional wisdom, which suggests that languages like Fortran, C++, or even Java, are more suitable. We prefer Lisp based on its debugging features, interactivity, memory model, existing code-base for computer algebra and user interfaces, and for purposes of th...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • Softw., Pract. Exper.

دوره 21  شماره 

صفحات  -

تاریخ انتشار 1991